package org.gd.hellojaxb.privat24.chart;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "pays")
public class ChartPaysModel {

    @XmlElement(name = "pay")
    private List<ChartPayModel> list;

    public ChartPaysModel() {
        list = new ArrayList<ChartPayModel>();
        list.add(new ChartPayModel());
        list.add(new ChartPayModel());
        list.add(new ChartPayModel());
    }
}
